package de.justphil.tcg.tcgserver.websockets.services;

import java.util.concurrent.ScheduledFuture;


import net.jcip.annotations.Immutable;

@Immutable
public class TimeOutTask {
	
	private final ScheduledFuture<?> scheduledFuture;
	private final long gameId;
	
	public TimeOutTask(ScheduledFuture<?> scheduledFuture, long gameId) {
		this.scheduledFuture = scheduledFuture;
		this.gameId = gameId;
	}

	public ScheduledFuture<?> getScheduledFuture() {
		return scheduledFuture;
	}

	public long getGameId() {
		return gameId;
	}

}
